package Program;

public class Rectangle {
	int x;
	int y;
	public void setvalues(int a, int b){
		x=a;
		y=b;
	}
	public int area(){
		return x*y;
	}

	public static void main(String[] args) {
		
		Rectangle rect=new Rectangle();
		Rectangle rectb=new Rectangle();
		rect.setvalues(3, 4);
		rectb.setvalues(5,6);
		System.out.println("rect a: "+rect.area());
		System.out.println("rect b: "+rectb.area());
	}

}
